package com.gagakuai.bpm.common.enums;

/*
 * @program: bpm_server
 * @description: 类型枚举
 * @author: houhong
 * @create: 2022-05-06 16:14
 */
public enum  BpmCompeleptedTypEnum {


    ALL_COMPLETED("nrOfCompletedInstances==nrOfInstances","1","全部办完"),


    ONE_COMPLETED("nrOfCompletedInstances==1","2","一人办完"),


    PARTION_COMPLETED("nrOfCompletedInstances/nrOfInstances>=0.6","3","比例办完,默认0.6"),





    ;


    private String code;

    private String type;

    private String description;

    BpmCompeleptedTypEnum(String code, String type, String description) {
        this.code = code;
        this.type = type;
        this.description = description;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}